package com.xc.pattern.flyweight;

/**
 * @author xingchen
 * @description
 * @create 2022-09-04 19:34
 */
public class ConcreteWebSite extends CloudWebSite {

    private String category;

    public ConcreteWebSite(String category) {
        this.category = category;
    }

    @Override
    public void run(Company company) {
        System.out.println("网站分类：" + category + "——公司：" + company.getName());
    }


}
